import React from "react";
import { Spin } from "antd";

const loadingWrapper = {
  position: "relative",
  height: "100vh",
};

const loadingSpin = {
  position: "absolute",
  left: "50%",
  top: "45%",
  transform: "translate(-50%,-40%)",
};

function Loading() {
  return (
    <div style={loadingWrapper}>
      <Spin style={loadingSpin} tip="您要的内容正在火速赶来.🚀" />
    </div>
  );
}

export default Loading;
